﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->
    
<phone:PhoneApplicationPage 
    x:Class="Rachmans.Sabang.Licenses"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="PortraitOrLandscape"  Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--Resources-->
    <phone:PhoneApplicationPage.Resources>
        <!--<data:InboxObject x:Key="Inbox"/>-->
    </phone:PhoneApplicationPage.Resources>

    <!--Transitions-->
    <toolkit:TransitionService.NavigationInTransition>
        <toolkit:NavigationInTransition>
            <toolkit:NavigationInTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardIn"/>
            </toolkit:NavigationInTransition.Backward>
            <toolkit:NavigationInTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardIn"/>
            </toolkit:NavigationInTransition.Forward>
        </toolkit:NavigationInTransition>
    </toolkit:TransitionService.NavigationInTransition>
    <toolkit:TransitionService.NavigationOutTransition>
        <toolkit:NavigationOutTransition>
            <toolkit:NavigationOutTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardOut"/>
            </toolkit:NavigationOutTransition.Backward>
            <toolkit:NavigationOutTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardOut"/>
            </toolkit:NavigationOutTransition.Forward>
        </toolkit:NavigationOutTransition>
    </toolkit:TransitionService.NavigationOutTransition>

    <!--LayoutRoot-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="5,0,5,0" Background="{StaticResource PhoneAccentBrush}">
            <TextBlock x:Name="ApplicationTitle" Text="licenses" Style="{StaticResource PhoneTextNormalStyle}" FontSize="30" Margin="5,0,0,0" VerticalAlignment="Center" HorizontalAlignment="Left" />
        </StackPanel>

        <!--ContentPanel-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="5,0,5,0">
            <ScrollViewer BorderBrush="{StaticResource PhoneAccentBrush}" BorderThickness="1" HorizontalScrollBarVisibility="Auto">
                <StackPanel Margin="5,0,0,0">
                    <TextBlock>
                <Run FontWeight="Bold">About WP.Quran 1.1.1.0 - Rachmans 2012</Run>
                    </TextBlock>
                    <StackPanel Orientation="Horizontal">
                        <Image Source="/Images/Rachmans_Small.png"></Image>
                        <StackPanel Orientation="Vertical"  Margin="5,0,0,0">
                            <TextBlock>
                <Run FontWeight="Bold">Developer: </Run>
                                <LineBreak></LineBreak>
                                Basirudin Rachman - b@rachmans.com
                                <LineBreak></LineBreak>
                <Run FontWeight="Bold">Icon Designer (Except icons on bookmarks page): </Run>
                                <LineBreak></LineBreak>
                                Maulida Rahmatillah - maulida@rachmans.com
                            </TextBlock>
                        </StackPanel>
                    </StackPanel>
                    <TextBlock>
                                        <LineBreak></LineBreak>
                <Run FontWeight="Bold">Text and Translations</Run>
                    </TextBlock>
                    <StackPanel Orientation="Horizontal">
                        <Image Source="/Images/logo-4.png"></Image>
                        <HyperlinkButton Content="Click here to go to the site"
                             TargetName="_self"
                             HorizontalAlignment="Stretch"
                             HorizontalContentAlignment="Left"
                             NavigateUri="http://tanzil.net"/>
                        
                    </StackPanel>
                    <TextBlock>
                <LineBreak></LineBreak>
                <Run FontWeight="Bold">Controls and Toolkit</Run>
                    </TextBlock>
                    <HyperlinkButton Margin="-12,0,0,0" Content="Microsoft Phone Controls Toolkit"
                             TargetName="_self"
                             HorizontalAlignment="Stretch"
                             HorizontalContentAlignment="Left"
                             NavigateUri="http://silverlight.codeplex.com/releases/view/75888"/>
                    <TextBlock>
                    <LineBreak></LineBreak>
                    <Run FontWeight="Bold">Fonts</Run>
                <LineBreak></LineBreak>
                <LineBreak></LineBreak>
                akshar.ttf
                <LineBreak></LineBreak>
                Free for all non-commercial purposes
                <LineBreak></LineBreak>
                http://www.kamban.com.au/downloads.html
                <LineBreak></LineBreak>
                <LineBreak></LineBreak>
                Nafees Nastaleeq v1.02.ttf
                <LineBreak></LineBreak>
                Free of charge
                <LineBreak></LineBreak>
                http://www.crulp.org/software/license/Nafees_Nastaleeq_License.html
                <LineBreak></LineBreak>
                <LineBreak></LineBreak>
                me_quran_volt_newmet.ttf
                <LineBreak></LineBreak>
                For private and non-commercial use only.
                <LineBreak></LineBreak>
                http://arabicfonts.wikispaces.com/
                <LineBreak></LineBreak>
                <LineBreak></LineBreak>
                - lohit_hi.ttf
                <LineBreak></LineBreak>
                - lohit_ta.ttf
                <LineBreak></LineBreak>
                MIT License (Expat)
                <LineBreak></LineBreak>
                http://www.debian.org/license
                    </TextBlock>
                </StackPanel>
            </ScrollViewer>
        </Grid>
    </Grid>
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton x:Name="appbar_button1" 
                                            IconUri="/Images/back.png" 
                                            Text="back" Click="back_Click"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>

</phone:PhoneApplicationPage>
